package com.ruoyi.wechat.mapper;

import java.util.List;
import com.ruoyi.wechat.domain.OrderDetail;

/**
 * orderDetailMapper接口
 * 
 * @author yeluochen
 * @date 2024-12-29
 */
public interface OrderDetailMapper 
{
    /**
     * 查询orderDetail
     * 
     * @param orderDetailId orderDetail主键
     * @return orderDetail
     */
    public OrderDetail selectOrderDetailByOrderDetailId(String orderDetailId);

    /**
     * 查询orderDetail列表
     * 
     * @param orderDetail orderDetail
     * @return orderDetail集合
     */
    public List<OrderDetail> selectOrderDetailList(OrderDetail orderDetail);

    /**
     * 新增orderDetail
     * 
     * @param orderDetail orderDetail
     * @return 结果
     */
    public int insertOrderDetail(OrderDetail orderDetail);

    /**
     * 修改orderDetail
     * 
     * @param orderDetail orderDetail
     * @return 结果
     */
    public int updateOrderDetail(OrderDetail orderDetail);

    /**
     * 删除orderDetail
     * 
     * @param orderDetailId orderDetail主键
     * @return 结果
     */
    public int deleteOrderDetailByOrderDetailId(String orderDetailId);

    /**
     * 批量删除orderDetail
     * 
     * @param orderDetailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrderDetailByOrderDetailIds(String[] orderDetailIds);
}
